package com.gxuwz.zhangjiahui.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;

/**
 * <p>
 *  学生信息表
 * </p>
 *
 * @author zhangjiahui
 * @since 2021-06-20
 */
@Data
@Alias("Student") //别名
public class Student {

    private static final long serialVersionUID = 1L;

    private int id;

    @ApiModelProperty(value = "学号")
    private String stuNo;

    @ApiModelProperty(value = "学生姓名")
    private String stuName;

    @ApiModelProperty(value = "性别: 1代表男, 0代表女")
    private Integer sex;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "年龄")
    private String age;

    @ApiModelProperty(value = "身份证号")
    private String number;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "所属班级编号")
    private String classId;

    @ApiModelProperty(value = "所属二级学院编号")
    private String collegeId;

    @ApiModelProperty(value = "团队编号")
    private String teamId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
